package group.program.Service.impl;

import group.program.Service.SqlService;
import group.program.mapper.SqlMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;

@Service
public class SqlServiceImpl implements SqlService {
    @Autowired
    private SqlMapper sqlMapper;
    @Override
    public List<LinkedHashMap<String,Object>> getData(String sql) {
        return sqlMapper.getData(sql);
    }
}
